home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Tele
/
C
/
Comet2.1.3.cpt
/
include
/
config.h
< prev
next >
Wrap
Text File
|
1991-11-07
|
3KB
|
91 lines
/*
Copyright Cornell University 1986. All rights are reserved.
*/
/* 8/26/86 kevin added externs from config.c */
/* 4/22/88 kevin added linewrap, server on/ask */
#include <osutil.h>
#define CONFID 0
#define SERCONFID 1
#define GLOBCONFID 2
struct config {
short version_number; /* version of config struct */
short keyboard; /* mac v. mac+ */
short keypad; /* function, alt function, or numeric */
short dokeymacros; /* macros on */
short ibm_mode; /* determines control actions */
short blockcurs; /* block cursor or underline */
short changecurs; /* blink cursor */
short escmap; /* ` == ESC */
short ba_bs; /* BS == DEL */
short crtonl; /* CR == LF */
short typeahead; /* typeahead on */
short ibmnulls; /* nullsareblanks on send */
short ibmsqueeze; /* squeeze blanks out on insert */
short curseekmode; /* cursor seeking mode */
char termwrap; /* wrap at EOL? */
char tftpserve; /* server on or off */
char tftpask; /* server asking on or off */
char filler1; /* junk */
short fontsize; /* V.3 height of font in use */
short autoshrink; /* shrink window on MF switch */
short shiftfield; /* V.4 shift whole 3270 field, not just row on DEL */
char disableterm[TERMTYPEMAX]; /* V.5 disable corresponding terminal */
short color; /* V.6 color is enabled */
struct ibmcolormap ibmcolormap; /* V.7 color map */
short trydsdraw; /* V.7 */
short disposeonclose; /* V.8 window disappears on close */
short normfont; /* V.8 font ids */
short highfont;
short vtfont;
short conntype; /* V.8 type of connection to make */
short vtkeypad; /* V.9 vt keypad type */
short logsession; /* V.10 log session */
short filesession; /* log session in file */
short editload; /* load .edit downloads automatically */
short editwrap; /* wrap/unwrap .edit downloads automatically */
short autohangup; /* V.11 hang up automatically on close */
short vtjumpscroll; /* V.12 use vt100 jump scrolling */
short keypadswitch; /* switch standard keyboard +/- on keypad */
short logerase; /* log (some) erased areas when logging */
short editupwrap; /* wrap/unwrap .edit downloads automatically */
short linecount; /* vt100/h19 #rows */
short linelength; /* vt100/h19 #columns */
short ibm_type; /* kind of 3270 user has selected */
};
/* for use by serial version CONF 1 */
struct serconfig {
short cport; /* TRUE if B port */
unsigned short cbaud;
unsigned short cparity;
unsigned short cstop;
unsigned short cdata;
};
/* a global CONF 2 resource format, one per app vs. per window */
struct globalconfig {
short tftpserve;
short tftpask;
short trydsdraw;
short riskydsdraw;
short quitonclose;
short version;
short mtcpsendasync;
short edresetselect; /* kill em selection range after edit action */
short keypadswitch; /* 3, switch SE key pad */
short courierprint; /* 4, QD print using Courier font */
};
extern SysEnvRec environs; /* global environment record */